package io.tan.searchestest.controller;


import org.apache.commons.lang3.StringUtils;

import java.nio.charset.StandardCharsets;
import java.security.MessageDigest;
import java.security.NoSuchAlgorithmException;

/**
 * TODO
 *
 * @author lxw
 * @version V1.0
 * @date 2021/10/21
 **/
public class te1 {
	public static void main(String[] args) throws NoSuchAlgorithmException {
		String value = "qwe";

		byte[] digest = MessageDigest.getInstance("md5").digest(value.getBytes(StandardCharsets.UTF_8));

		if (true && StringUtils.isNotBlank(value)) {
			System.out.println(1);
		}else {
			System.out.println(2);
		}
	}
}
